.layout {
    margin-top: 15px;

    .ruleInfo {
        float: right;
        width: 340px;
        border-radius: 4px;
        border: 1px solid rgba(0, 0, 0, 0.15);
        margin-left: 15px;

        h3 {
            background: rgba(0, 0, 0, 0.03);
            padding: 11px 24px;
            font-size: 16px;
            font-weight: 600;
            color: rgba(0, 0, 0, 0.85);
            margin-bottom: 0;
        }

        ul {
            padding: 24px;

            li {
                position: relative;
                padding-left: 72px;
                margin-bottom: 10px;
                font-weight: 400;
                color: rgba(0, 0, 0, 0.85);
                min-height: 21px;
                word-break: break-all;

                strong {
                    position: absolute;
                    left: 0;
                    top: 0;
                    width: 72px;
                    text-align: right;
                    font-weight: 400;
                    color: rgba(0, 0, 0, 0.45);
                    font-size: 14px;
                }
            }
        }
    }

    .textWrap {
        position: relative;
        overflow: hidden;
        border-radius: 4px;
        border: 1px solid rgba(0, 0, 0, 0.15);
        height: 600px;

        &.ppt,
        &.pptx {
            .maskBottom {
                left: 65%;
                background: #444;
                height: 21px;
            }
        }

        &.doc,
        &.docx {
            .maskBottom {
                width: 200px;
                left: inherit;
            }
        }

        .maskTop {
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            height: 88px;
            color: #fff;
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            background: #000 url('~@/assets/wenku_bg.jpg') no-repeat center;
            object-fit: cover;
            background-size: cover;

            .logo {
                display: inline-block;
                vertical-align: middle;
                width: 30px;
                height: 30px;
                margin-right: 16px;
                background: url('~@/assets/logo@3x.png') no-repeat center;
                background-size: 30px;
            }
        }

        .maskBottom {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            background: #fff;
            height: 15px;
        }
    }
}

.titleName {
    width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 4px;
}

.titleDetail {
    width: 220px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    max-height: 42px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.65);
    font-size: 12px;
    word-wrap: break-word;
}

.LinkTo {
    color: rgba(0, 0, 0, 0.85);
}

.flexForm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}
